home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / FAN3000.M3 < prev    next >
Text File  |  1996-04-01  |  4KB  |  135 lines

  1. name Fanuc 3000C
  2.  
  3. N >4
  4. G 2
  5. g >2 G
  6. X ->34
  7. Y ->34
  8. Z ->34
  9. I ->34
  10. J ->34
  11. Q ->34
  12. R ->34
  13. P ->34
  14. F >32
  15. K ->34
  16. H 2
  17. D 2
  18. T 2
  19. M 2
  20. S 2
  21.  
  22. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  23.  
  24. Sequence#s N 1 10 10                  # Char, freq, incr & start          
  25.  
  26. HCode X                               # X or X U  'Horizontal char.       
  27. VCode Y                               # Y or Y V  'Vertical char.         
  28. Dcode Z                               # Depth char.                       
  29. FeedCode F                            # Feed rate char.                   
  30.  
  31. Comment ( )                           # Begin End comment char.           
  32.  
  33. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  34. Coolant 8 9 7                         # On, Off & Mist m codes            
  35. DComp 41 42 40                        # Left, Right & Cancel m codes      
  36. LComp 43 49                           # On & Off codes                    
  37.  
  38. Feed G1                             # Linear move                       
  39. Rapid G0                            # Rapid positioning word            
  40. Cw G2                               # Circular move clockwise           
  41. Ccw G3                              # Circular move counter clockwise   
  42.  
  43. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  44.  
  45. Work G                                # Work offset register              
  46.  
  47. CtrCode I J                           # I J or R or I J K L               
  48. Helical? Y
  49.  
  50. Spaces? Y                             # Y or N  'Spaces between words     
  51.  
  52. Incremental? N                        # Y or N  'Inc or abs output        
  53. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  54. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  55.  
  56. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  57.  
  58. Drill                                 # Drilling canned/manual cycle      
  59. G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  60. end cancel
  61.  
  62. Peck                                  # Pecking canned/manual cycle       
  63. G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
  64. end cancel
  65.  
  66. Tap                                   # Tapping canned/manual cycle       
  67. G84 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  68. end cancel
  69.  
  70. LTap                                  # Left handed tapping cycle         
  71. G74 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  72. end cancel
  73.  
  74. Ream                                  # Reaming canned/manual cycle       
  75. G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  76. end cancel
  77.  
  78. Bore                                  # Boring canned/manual cycle        
  79. G86 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  80. end cancel
  81.  
  82. Back                                  # Back boring canned/manual cycle   
  83. G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  84. end cancel
  85.  
  86. Cancel                                # Cancel a canned/manual cycle      
  87. G80
  88. end
  89.  
  90. StartCode                             # Start of the program              
  91. G17 G40 G80 g91
  92. G45 X0 H62
  93. G45 Y0 H63
  94. End
  95.  
  96. 1stToolChange                         # First tool change                 
  97. S[Speed]
  98. g91 G45 Z0 H[LComp] M[Direct]
  99. G90 G92 X0 Y0 Z1 M[Cool]
  100. G0 X[H] Y[V]
  101. Z[Rplane]
  102. End
  103.  
  104. Infeed                                # Enable cutter comp                
  105. G1 Z[D] F[Plunge]
  106. G[Side] X[H] Y[V] H[DComp] F[FRate]
  107. end
  108.  
  109. Outfeed                               # Disable cutter comp               
  110. G1 G40 X[H] Y[V]
  111. Z[D]
  112. end
  113.  
  114. ToolChange                            # Secondary tool changes            
  115. g91 M9
  116. G28 Z0 M5
  117. T[Tool]
  118. M6 S[Speed]
  119. g91 G45 Z0 H[LComp] M[Direct]
  120. G90 G92 X0 Y0 Z1 M[Cool]
  121. G0 X[H] Y[V]
  122. Z[Rplane]
  123. End
  124.  
  125. EndCode                               # End of the program                
  126. g91 M9
  127. G28 Z0 M5
  128. G28 X0 Y0
  129. T1
  130. M6
  131. M30
  132. End
  133.  
  134.  
  135.